package com.topscore.uke.mvp.contractors;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.flyco.tablayout.SegmentTabLayout;
import com.kingja.loadsir.core.LoadService;
import com.topscore.uke.entities.MemberTagEntity;
import com.topscore.uke.mvp.model.BaseHttpListener;
import com.topscore.uke.mvp.views.BaseView;
import com.topscore.uke.network.BaseResponse;
import com.topscore.uke.network.retrofit.ApiService;
import com.topscore.uke.network.retrofit.NetClient;

import java.util.List;

/**
 * Created by 71468 on 2018/3/23.
 */

public interface GetMemberTagsContractor {
    ApiService mService = NetClient.getInstance().net().create(ApiService.class);
    interface Model{
        void getTags(String id);
    }

    interface View  extends BaseView{
        void setTabs(String[] tabTitles);
        LoadService getLoadService();
        BaseQuickAdapter getRootRecycler();
    }

    interface Presenter{
        void getTags(String id);
    }

    interface CallBack extends BaseHttpListener{
        void onSuccess(BaseResponse<List<MemberTagEntity>> response);
    }
}
